﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">网站设置</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">HTML修改</a></span>
            <div class="z-f-r"><span class="user-t"><a href="{$site_url}"  target="_blank">网站首页</a></span><span class="user-info"></span><a href="index.php?app=default&act=quit" onClick="return confirm('确认退出管理系统吗？');"   >退出管理</a></div>
        </div>
        <div class="top-menu">
        	<ul>
                                                 <li><a href="?app=icon&act=viewmanageedit&{$urlstr}"   target="_self">Icon标签修改</a></li>
												 <li><a href="?app=icon&act=viewmanagedataedit&{$urlstr}"   target="_self">Icon数据库视图修改</a></li>
												 <li><a href="?app=icon&act=viewmanagetableuseredit&{$urlstr}"   target="_self">用户视图数据库修改</a></li>
                                                 <li><a href="?app=icon&act=viewmanageactiveedit&{$urlstr}"   target="_self">Icondata时间控制修改</a></li>	
												 <li><a href="?app=icon&act=viewmanagetableedit&{$urlstr}&tb=usermoney.userid|users.id&fd=users.id|usermoney.intro"   target="_self">Icon表单数据调用</a></li>																			 
												 <li><a href="?app=icon&act=viewmanagecacheedit&{$urlstr}"   target="_self">Icon缓存数据调用</a></li>
												<li class="current"><a href="#" >HTML修改</a></li>	
                                                  <li><a href="{$fromurl}"   target="_self">返回主站</a></li>	
				
				
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">
	
	

<?php 

if(!isset($data.iconname)) { $data.iconname='';} 
if(!isset($data.description)) { $data.description='';} 
if(!isset($data.iconcontent)) { $data.iconcontent='';} 
if(!isset($data.config.tablename)) { $data.config.tablename='';} 
if(!isset($data.config.fields)) { $data.config.fields='';} 
if(!isset($data.config.order)) { $data.config.order='';} 
if(!isset($data.config.limit)) { $data.config.limit='';} 
if(!isset($data.config.conditions)) { $data.config.conditions='';} 
if(!isset($data.config.pageurl)) { $data.config.pageurl='';} 
if(!isset($data.config.cachedatadir)) { $data.config.cachedatadir='';} 
if(!isset($data.config.cachefields)) { $data.config.cachefields='';} 
if(!isset($data.config.icondata)) { $data.config.icondata='';} 
if(!isset($data.config.iconfields)) { $data.config.iconfields='';} 
if(!isset($data.config.labels)) { $data.config.labels='';} 
if(!isset($data.config.htmlname)) { $data.config.htmlname='';} 
if(!isset($data.config.htmlconfig)) { $data.config.htmlconfig='';} 

?>                                
                                 


<form action="?app=icon&act=viewmanagehtmledit&action=post" method="post" enctype="multipart/form-data" name="form1"  onSubmit="return post(this);">

<table  class="data" >
<tbody>


<tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	<td align='right'><strong>HTML代码</strong>:</td>
	<td>


<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">



    <tr  align="center"> 

      <td colspan="2"> &nbsp; 





            </td>

          </tr>

          <tr  id="TRtpl_1">
            <td > 



                    <textarea name="tplpart_1" id="tplpart_1" cols="90" rows="8" style="height:250px;">{$code}</textarea>


            </td>

          </tr>

          <tr >
            <td > 
<input type="radio" name="mokuai" value="1"  onclick="form_choose('1')"  >创建&nbsp;&nbsp;&nbsp;<input type="radio" name="mokuai" value="0"  checked   onclick="form_choose('0')" >修改
            </td>
          </tr>

          <tr  id="field_form_1"  style="display:none;">
            <td > 

文件名：<input type="text" name="filename" size="60" value="{$htmlname}" >

            </td>
          </tr>

        </table>


      </td>

    </tr>

</table>


    
    </td>
</tr>

									 
<tr>
	<td>&nbsp;</td>
	<td><input type="hidden" name="pagename" value="{$pagename}" /><input type="hidden" name="strtempdata" value="{$strtempdata}" /><input type="hidden" name="fromurl" value="{$weburl}" /><input type="submit" value=" 提 交 " class="buton"></td>
</tr>
</tbody></table>
</form>                                 
 
   <SCRIPT LANGUAGE="JavaScript"> 

<!--
function get_obj(obj){
   return document.getElementById(obj);
}
 
function form_choose(t)
{

	if(t=='1')
	{
		get_obj('field_form_1').style.display='';		    
	}else
	{
		get_obj('field_form_1').style.display='none';		    
	}	

}
form_choose('0');
//-->
</SCRIPT>                                   
   	
	

	

        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span ></span></div>
    </div>
</div>
<!--{inc(footer.view.html)}-->